package com.xkcyy.climb.core.dto;


import lombok.Getter;

import java.util.ArrayList;
import java.util.List;

/**
 * Paged
 *
 * @author yuand
 * @date 2024/3/16
 **/
@Getter
public class Paged<T> {

    private final List<T> data = new ArrayList<>();
    private final Page page;

    public Paged(List<T> data, Page page) {
        this.data.addAll(data);
        this.page = page;
    }

}
